<div class="searchBox layui-hide-xs">
    <div class="layui-container mbx-top-nav">
        <div class="mianbaoxie-nav">
            <span class="layui-breadcrumb">
              <a href="/">首页</a>
              <a><cite>个人中心</cite></a>
            </span>
        </div>

        <div class="weather">
            <iframe name="weather_inc" src="http://i.tianqi.com/index.php?c=code&id=5&py=linyi2" width="200" height="30" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" ></iframe>
        </div>
    </div>
</div>

<div class="my-top">

    <div class="top-img">
        <img src="/static/index/images/top.png" alt="">
    </div>

    <div class="my-box-width">

        <div class="layui-fluid">

            <div class="layui-row">

                <div class="layui-col-md4">

                    <div class="top-user-l">
                        <div class="user-icon">

                            <div class="user-icon-box">
                                <img src="{$Think.session.user_icon}" alt="">
                            </div>

                        </div>

                        <div class="user_nickname">

                            <span id="nickname">{$Think.session.nickname}</span>

                        </div>

                    </div>


                </div>

                <div class="layui-col-md8">

                    <div class="my-nav">

                        <div class="layui-row">

                            <div class="layui-col-md2 layui-col-md-offset2">
                                <div class="my-nav-li my-orders">
                                    <a href="{:url('my/my')}">
                                        <span>我的订单</span>
                                    </a>
                                </div>
                            </div>

                            <div class="layui-col-md2">
                                <div class="my-nav-li my-collect">
                                    <a href="{:url('my/collect')}">
                                        <span>我的收藏</span>
                                    </a>
                                </div>
                            </div>

                            <div class="layui-col-md2">
                                <div class="my-nav-li my-publish">
                                    <a href="{:url('my/publish')}">
                                        <span>我的发布</span>
                                    </a>
                                </div>
                            </div>

                            <div class="layui-col-md2">
                                <div class="my-nav-li my-message">
                                    <a href="{:url('my/message')}">
                                        <span>我的消息</span>
                                    </a>
                                </div>
                            </div>

                            <div class="layui-col-md2">
                                <div class="my-nav-li my-other">
                                    <a href="{:url('my/other')}">
                                        <span>个人管理</span>
                                    </a>
                                </div>
                            </div>

                        </div>

                    </div>


                </div>

            </div>

        </div>
    </div>

</div>

<script src="/static/js/jquery-3.2.1.min.js"></script>
<script>

    var nav_active = "[model]";

    $('.my-nav-li').removeClass('my-nav-active');

    var theItem = 'my-'+nav_active;

    $("."+theItem).addClass('my-nav-active');

</script>